<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
    <body>
            <!--提交到服务器-->
    <form action="/demo3" method="get" autocomplete="off">
        姓名:<input type="text" name="username"> <br/>
        密码:<input type="password" name="pwd"> <br/>
        爱好:<input type="checkbox" name="hobby" value="1">a
            <input type="checkbox" name="hobby" value="2">b
            <input type="checkbox" name="hobby" value="3">c
            <br/>
        <button type="submit">提交</button>

    </form>

    </body>
</html>